package com.jacobson.huobi.di.modules

import com.jacobson.core.di.annotation.ActivityScope
import com.jacobson.huobi.mvp.adapters.SymbolRecordAdapter
import com.jacobson.huobi.mvp.contract.AlarmRecordContract
import com.jacobson.huobi.mvp.model.AlarmRecordModel
import com.jacobson.huobi.mvp.presenter.AlarmRecordPresenter
import dagger.Module
import dagger.Provides

@Module
class AlarmRecordActivityModule(
    private val view: AlarmRecordContract.View
) {
    @Provides
    @ActivityScope
    fun provideView() = view

    @Provides
    @ActivityScope
    fun providePresenter(presenter: AlarmRecordPresenter): AlarmRecordContract.Presenter = presenter

    @Provides
    @ActivityScope
    fun provideModel(model: AlarmRecordModel): AlarmRecordContract.Model = model

}